home *** CD-ROM | disk | FTP | other *** search
- Path: gate.stateoftheart.com!usenet
- From: Michael@StateOfTheArt.com (Mike Johnson)
- Newsgroups: comp.lang.c
- Subject: WM_COMPAREITEM message
- Date: Thu, 18 Jan 1996 18:09:40 GMT
- Organization: State Of The Art, Inc.
- Message-ID: <4dm2f0$n56@gate.stateoftheart.com>
- NNTP-Posting-Host: g-205.stateoftheart.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- I have a bit of a problem. I have an ower draw listbox which I need
- to sort the contents of. I have attempted to use the LBS_HASSTRINGS
- and the LBS_SORT preferences in the listbox, however, it doesn't do
- anything. So I dumped the LBS_HASSTRINGS preference and now I am
- trapping the WM_COMPAIREITEM message (I know that the message is being
- trapped correctly). When I look in the COMPAREITEMSTRUCT structure
- the itemData1 and itemData2 variables are identitcal each and
- everytime I send a LB_ADDSTRING message to the listbox. Because these
- values in these variables are identical, no sorting takes place.
-
- Any thoughts?
-
-